From: IOhannes m zmölnig Date: Mon, 27 Jan 2025 16:13:40 +0000 (+0100) Subject: Build against system's libsamplerate X-Git-Tag: archive/raspbian/2.5.1+ds-1+rpi1^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=352a4699e0bd84a4158bd2c9f30f5ed75ace7908;p=jacktrip.git Build against system's libsamplerate Origin: Debian Forwarded: no Last-Update: 2025-01-26 Last-Update: 2025-01-26 Gbp-Pq: Name libsamplerate.patch --- diff --git a/meson.build b/meson.build index d685681..c43c22a 100644 --- a/meson.build +++ b/meson.build @@ -354,8 +354,9 @@ if get_option('libsamplerate').allowed() opt_var.add_cmake_defines({'CMAKE_BUILD_TYPE': 'Debug'}) endif opt_var.add_cmake_defines({'CMAKE_POSITION_INDEPENDENT_CODE': 'ON'}) - libsamplerate_subproject = cmake.subproject('libsamplerate', options: opt_var) - libsamplerate_dep = libsamplerate_subproject.dependency('samplerate') + #libsamplerate_subproject = cmake.subproject('libsamplerate', options: opt_var) + #libsamplerate_dep = libsamplerate_subproject.dependency('samplerate') + libsamplerate_dep = dependency('samplerate', required: get_option('libsamplerate')) found_libsamplerate = libsamplerate_dep.found() if not found_libsamplerate and not get_option('libsamplerate').auto() error('failed to configure libsamplerate')